body {
  margin: 0;
  overflow: hidden;
  background: whitesmoke;
  height: 100%;
}

.app {
  padding: 0;
  height: 100vh;
  overflow: auto;
  min-height: 100vh;
}

.pagination-button {
  background: white;
  border-radius: 5px;
  border: 1px gainsboro;
  user-select: none;
}

.tag-cloud{
  cursor: pointer;
}

.pagination-control {
  display: inline-flex;
  position: relative;
  left: 50%;
  bottom: 1%;
  transform: translate(-50%);
  user-select: none;
}

.pagination-page {
  display: block;
  background: white;
  border-radius: 5px;
  border: 1px gainsboro;
  user-select: none;
  width: 30px;
  color: orange;
  margin-right: 10px;
  text-align: center;
  padding-top: 2px;
  cursor: pointer;
}


#page0 {
  color: white;
  background-color: #FF7F27;
}

.logo {
  position: absolute;
  height: 200px;
  left: 50%;
  top: 100%;
  margin-left: -200px;
  animation: appear 1.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  user-select: none;
}

.middle {
  height: auto;
}

.logo img:hover {
  animation-fill-mode: forwards;;
  animation-play-state: running;
}

@keyframes appear {
  to {
    opacity: 0.9;
    transform: translateY(-500px);
  }
}

@keyframes nav-appear {
  to {
    opacity: 0.95;
  }
}

@keyframes typing-appear {
  to {
    opacity: 0.8;
  }
}

.header {
  height: 100vh;
  padding: 0;
  background-image: url("images/head.jpg");
  background-position: 50%;
  background-size: cover;
  position: relative;
  transition: 2s;
}

.title {
  user-select: none;
  font-weight: bolder;
  color: white;
  position: relative;
  left: 50%;
  bottom: 400px;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 100px;
  animation: animate 0.5s linear infinite;
}

@keyframes animate {
  0%, 100% {
    text-shadow: -1.5px -1.5px 0 #0ff, 1.5px 1.5px 0 #f00;
  }
  25% {
    text-shadow: 1.5px -1.5px 0 #0ff, 1.5px -1.5px 0 #f00;
  }
  50% {
    text-shadow: 2px -1.5px 0 #0ff, 1.5px -1.5px 0 #f00;
  }
  75% {
    text-shadow: -1.5px -1.5px 0 #0ff, 1.5px 1.5px 0 #f00;
  }
}

.search {
  width: 25%;
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%)
}

.headshot {
  width: 50%;
  border-radius: 50%;
  border: solid gainsboro;
  position: absolute;
  left: 50%;
  display: inline;
  top: 20%;
  transform: translate(-50%, -50%);
}

.sign {
  margin-top: 5px;
  color: orange;
  font-size: small;
  font-weight: normal;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.blog {
  width: 55vw;
  height: auto;
  background: white;
  border-radius: 10px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  display: block;
  margin-bottom: 10%;
  border: solid 0.1px gainsboro;
  box-shadow: 0 0 3px gainsboro;
}

.blog:hover {
  transition: 0.2s;
  box-shadow: 0 0 8px darkgray;
}

.info {
  margin-top: 10%;
  padding: 10px;
  overflow: auto;

}

.blog-title {
  display: inline-block;
  position: relative;
  bottom: 10px;
  font-size: x-large;
  font-weight: bold;
  margin-bottom: 10px;
  user-select: none;
  cursor: pointer;
  width: auto;

}

.blog-title:hover {
  font-size: xx-large;
  transition: 0.2s;
}

.blog-time {
  font-size: 15px;
  color: #EE6858;
  margin-right: 20px;
}

.blog-desc {
  position: relative;
  max-width: 55vw;
  width: 100%;
  height: auto;
  line-height: 1.8;
}

.random-blog {
  background: white;
  box-shadow: 0 0 3px gainsboro;
  border: solid 1px gainsboro;
  width: 90%;
  height: 75vh;
  position: absolute;
  left: 50%;
  margin-top: 23%;
  border-radius: 10px;
  transform: translate(-50%);
}

.random-blog:hover {
  transition: 0.2s;
  box-shadow: 0 0 8px darkgray;
}

.desc-img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  width: 85%;
}

.random-blog .head {
  width: 100%;
  height: 6%;
  background: #FDF8F4;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}

.random-blog .head .s {
  text-align: center;
  padding: 2px;
  font-size: x-small;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40%;
  border-radius: 5px;
  transform: translate(-50%, -50%);
  color: black;
  border: solid #E2DDD9;
}

.ran-container {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  height: 80%;
}

.ran-one {
overflow: hidden;
  cursor: pointer;
  display: block;
  border-radius: 10px;
  background-size: 100%;
  margin-bottom: 15px;
  width: 95%;
  height: 20%;
  position: relative;
  left: 50%;
  transform: translate(-50%);
}




.ran-one .info {
  width: 100%;
  position: absolute;
  top: 25px;
  background: linear-gradient(180deg,transparent,rgba(0,0,0,.8));
}

.blog-head {
  padding-left: 5%;
  padding-right: 5%;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

.ran-one .info .time {
  position: relative;
  bottom: 10px;
  font-size: 12px;
  color: white;
}

.ran-one .info .blog-title {
  font-size: x-small;
  color: white;
  font-weight: normal;
  margin-top: 5px;
}

.view-num {
  font-size: 15px;
  color: #73BD47;
  margin-right: 10px;
}

.personal .name {
  font-size: large;
  font-weight: bold;
  height: 10%;

}

.personal {
  box-shadow: 0 0 3px gainsboro;
  margin-top: 23%;
  border-radius: 10px;
  background-color: white;
  width: 18vw;
  height: 50vh;
  transition: 0.2s;
  right: 10%;
  position: absolute;
  border: solid 1px gainsboro;
}

.personal:hover {
  box-shadow: 0 0 8px darkgray;
}


.header .down {
  opacity: 0.9;
  width: 30px;
  position: absolute;
  left: 50%;
  margin-left: -15px;
  bottom: 10%;
  -webkit-animation: shaking 2s linear infinite;
  cursor: pointer;
  user-select: none;
}

.other {
  display: flex;
  padding: 10px;
  position: relative;
  border-top: 0.5px solid gainsboro;
  border-bottom: 0.5px solid gainsboro;
}

.other .el-image {
  margin-left: 10px;
  border-radius: 50%;
  width: 12%;
  cursor: pointer;
}

@keyframes shaking {

  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(-10px);
  }
}

.vuepress-markdown-body {
  font-size: 15px;
  line-height: 1.8;
}



.blog-top {
  width: 100%;
  background: black;
  height: 50px;
  position: absolute;
  display: flex

}

.blog-top-tag {
  padding: 10px;
  width: 100px;
  top: 50%;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%)
}

.type {
  font-size: 20px;
  color: white;;
  position: absolute;
  left: 50%;
  bottom: 35%;
  opacity: 0;
  transform: translateX(-50%);
  animation: typing-appear 5s;
  transition: 0s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

